package com.keli.service;

import java.util.Date;

public class TimeService {
	/**
	 * e.g. 2014-09-26 08:49:55
	 * @return
	 */
	public static String curentTime() {
		Date now = new Date();
		return String.format("%tF %tT", now, now);
	}
	
	public static void main(String[] args) {
		System.out.println(curentTime());
	}
}
